﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using PhoneBook.Core.Data;
using PhoneBook.Core.Domain.Phones;
using PhoneBook.Data;

namespace PhoneBook.Controllers
{
    public class InstallController : Controller
    {
        private readonly IRepository<Phone> _phoneRepository;

        public InstallController(IRepository<Phone> phoneRepository)
        {
            _phoneRepository = phoneRepository;
        }

        //
        // GET: /Install/

        public ActionResult Index()
        {


            //var dataProvider = EngineContext.Current.Resolve<IEfDataProvider>();
            //dataProvider.InitDatabase();


            //var phone = new Phone();
            //_phoneRepository.Insert(phone);
            //return View();
            return null;
        }

    }
}
